Optimal. Leaf size=46 \[ -\frac {2 \sqrt {a-b x}}{3 a x^{3/2}}-\frac {4 b \sqrt {a-b x}}{3 a^2 \sqrt {x}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.00, antiderivative size = 46, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.125, Rules used = {47, 37}
\begin {gather*} -\frac {4 b \sqrt {a-b x}}{3 a^2 \sqrt {x}}-\frac {2 \sqrt {a-b x}}{3 a x^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 37
Rule 47
Rubi steps
\begin {align*} \int \frac {1}{x^{5/2} \sqrt {a-b x}} \, dx &=-\frac {2 \sqrt {a-b x}}{3 a x^{3/2}}+\frac {(2 b) \int \frac {1}{x^{3/2} \sqrt {a-b x}} \, dx}{3 a}\\ &=-\frac {2 \sqrt {a-b x}}{3 a x^{3/2}}-\frac {4 b \sqrt {a-b x}}{3 a^2 \sqrt {x}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.07, size = 28, normalized size = 0.61 \begin {gather*} -\frac {2 \sqrt {a-b x} (a+2 b x)}{3 a^2 x^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.12, size = 35, normalized size = 0.76
method | result | size |
gosper | \(-\frac {2 \sqrt {-b x +a}\, \left (2 b x +a \right )}{3 x^{\frac {3}{2}} a^{2}}\) | \(23\) |
risch | \(-\frac {2 \sqrt {-b x +a}\, \left (2 b x +a \right )}{3 x^{\frac {3}{2}} a^{2}}\) | \(23\) |
default | \(-\frac {2 \sqrt {-b x +a}}{3 a \,x^{\frac {3}{2}}}-\frac {4 b \sqrt {-b x +a}}{3 a^{2} \sqrt {x}}\) | \(35\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.29, size = 32, normalized size = 0.70 \begin {gather*} -\frac {2 \, {\left (\frac {3 \, \sqrt {-b x + a} b}{\sqrt {x}} + \frac {{\left (-b x + a\right )}^{\frac {3}{2}}}{x^{\frac {3}{2}}}\right )}}{3 \, a^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.84, size = 22, normalized size = 0.48 \begin {gather*} -\frac {2 \, {\left (2 \, b x + a\right )} \sqrt {-b x + a}}{3 \, a^{2} x^{\frac {3}{2}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [C] Result contains complex when optimal does not.
time = 1.05, size = 177, normalized size = 3.85 \begin {gather*} \begin {cases} - \frac {2 \sqrt {b} \sqrt {\frac {a}{b x} - 1}}{3 a x} - \frac {4 b^{\frac {3}{2}} \sqrt {\frac {a}{b x} - 1}}{3 a^{2}} & \text {for}\: \left |{\frac {a}{b x}}\right | > 1 \\\frac {2 i a^{2} b^{\frac {3}{2}} \sqrt {- \frac {a}{b x} + 1}}{- 3 a^{3} b x + 3 a^{2} b^{2} x^{2}} + \frac {2 i a b^{\frac {5}{2}} x \sqrt {- \frac {a}{b x} + 1}}{- 3 a^{3} b x + 3 a^{2} b^{2} x^{2}} - \frac {4 i b^{\frac {7}{2}} x^{2} \sqrt {- \frac {a}{b x} + 1}}{- 3 a^{3} b x + 3 a^{2} b^{2} x^{2}} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.19, size = 54, normalized size = 1.17 \begin {gather*} -\frac {2 \, {\left (\frac {2 \, {\left (b x - a\right )} b^{3}}{a^{2}} + \frac {3 \, b^{3}}{a}\right )} \sqrt {-b x + a} b}{3 \, {\left ({\left (b x - a\right )} b + a b\right )}^{\frac {3}{2}} {\left | b \right |}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.35, size = 26, normalized size = 0.57 \begin {gather*} -\frac {\left (\frac {2}{3\,a}+\frac {4\,b\,x}{3\,a^2}\right )\,\sqrt {a-b\,x}}{x^{3/2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________